﻿using FluentNHibernate.Mapping;

namespace Genesis.Persistence.Mapping
{

    using Genesis.Domain;

    public class SubscriptionMap : ClassMap<Subscription>
    {

        public SubscriptionMap()
        {

            Id(x => x.Id);
            Map(x => x.Reminder);
            Map(x => x.LastUpdate);
            Map(x => x.LastVisit);
            References<Thread>(x => x.Thread);

        }

    }

}